These documents are for replicating Shengqiao Lin's work Addressing Risk by Doing Good: Business Response to Government Policy Initiative, which is conditionally accepted by The Journal of Politics

Data.RData contains all the necessary raw data. Please load this before starting each file. It includes the following data:

Data: Variables needed for replicating all tables and figures.
PoliticalQA: All text data for political question and answers.
NPoliticalQA: All text data for non-political question and answers.
IndData: Industry-level political risks (used for descriptive statistics).
Lawsuit: Data on public legal judgments involving the companies since 2015 (used for robustness check).
newstopwords: Stop words for topic models.

To reduce replication time, I have included the analysis results for the topic models, which can also be replicated using the code in Table.R and Figure.R:
POstm10topic: Results of the structural topic model for political Q&A.
NP0stm10topic: Results of the structural topic model for non-political Q&A.
Keyatm10: Results of the keywords-assisted topic model.

Table.R is used to replicate all tables in the body text

Figure.R is used to replicate all figures in the body text

Appendix.R is used to replicated the whole Appendix